summary: Fix a typo
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 3 Jun 2016 19:35:52 +0000 (21:35 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 3 Jun 2016 19:39:40 +0000 (19:39 +0000)
The --gpg-sign parameter will be used for signing the summary, not the
commit. This probably was copy-pasted from the ostree commit command.

Closes: #320
Approved by: cgwalters

src/ostree/ot-builtin-summary.c

index 4622ceef4cbe107a8f1ee1853af0da2dcb9848e5..2ff1c965b4c7abdedf5cca9e987c73cb17394751 100644 (file)
@@ -31,7 +31,7 @@ static char *opt_gpg_homedir;
 
 static GOptionEntry options[] = {
   { "update", 'u', 0, G_OPTION_ARG_NONE, &opt_update, "Update the summary", NULL },
-  { "gpg-sign", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_key_ids, "GPG Key ID to sign the commit with", "KEY-ID"},
+  { "gpg-sign", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_key_ids, "GPG Key ID to sign the summary with", "KEY-ID"},
   { "gpg-homedir", 0, 0, G_OPTION_ARG_STRING, &opt_gpg_homedir, "GPG Homedir to use when looking for keyrings", "HOMEDIR"},
   { NULL }
 };